import Vue from "vue";
//首页
import { NavBar, Field, Form, Button, Toast, Image as VanImage, Tag, Col, Row, Icon, Cell, CellGroup, Popup } from "vant";
Vue.use(NavBar);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Toast);
Vue.use(VanImage);
Vue.use(Tag);
Vue.use(Col);
Vue.use(Row);
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Popup)


//底部导航栏
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);

//用户页面
import { Dialog } from 'vant';
// 全局注册
Vue.use(Dialog);

//编辑页面
import { DatetimePicker, Uploader } from 'vant'
Vue.use(DatetimePicker);
Vue.use(Uploader);
//首页
import { Tab, Tabs, List, PullRefresh, Grid, GridItem, Lazyload, Search } from 'vant'
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Lazyload);
Vue.use(Search);